package com.yeyks.consumer.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 反馈表
 * </p>
 *
 * @author yun
 * @since 2019-06-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Feedback对象", description="反馈表")
public class Feedback implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("gmt_create")
    private Date gmtCreate;

    @TableField("gmt_modified")
    private Date gmtModified;

    @TableField("user_name")
    private String userName;

    @TableField("user_phone")
    private String userPhone;

    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "反馈标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "反馈内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "是否已读")
    @TableField("readed")
    private Boolean readed;

    @ApiModelProperty(value = "该反馈是否为举报")
    @TableField("report")
    private Boolean report;


    public static final String ID = "id";

    public static final String GMT_CREATE = "gmt_create";

    public static final String GMT_MODIFIED = "gmt_modified";

    public static final String USER_NAME = "user_name";

    public static final String USER_PHONE = "user_phone";

    public static final String USER_ID = "user_id";

    public static final String TITLE = "title";

    public static final String CONTENT = "content";

    public static final String READED = "readed";

    public static final String REPORT = "report";

}
